package com.atguigu.tingshu.query.album;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

/**
 * ClassName:CategoryList
 * Description: 用于返回一 二 三 级分类查询结果
 *
 * @Author chenxing
 * @Create 2025/5/20 10:03
 */

@Data
@Schema(description = "分类信息")
public class CategoryList {

    @Schema(description = "分类ID")
    private Long categoryId;

    @Schema(description = "分类名称")
    private String categoryName;

    @Schema(description = "子分类")
    private List<CategoryList> categoryChild;

}
